var express = require('express');
var router = express.Router();
const fs = require('fs');

/* GET users listing. */
router.get('/', function(req, res) {
	  console.log("ssd");
	
	
  var info = fs.readFileSync('./express.log','utf-8');
  info = info.split('[Mongoose]')[1];

  res.send(info);
});

module.exports = router;
